package com.xcm.sso;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 登录票据
 *
 * @author 林强
 * @date 2018-04-12 11:15
 */
public class Ticket implements Serializable {

    private static final long serialVersionUID = 3883906754528749062L;

    private String userName;

    private Timestamp createTime;

    private Timestamp recoverTime;

    public Ticket() {
        super();
    }

    public Ticket(String userName, Timestamp createTime, Timestamp recoverTime) {
        this.userName = userName;
        this.createTime = createTime;
        this.recoverTime = recoverTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getRecoverTime() {
        return recoverTime;
    }

    public void setRecoverTime(Timestamp recoverTime) {
        this.recoverTime = recoverTime;
    }

}
